package com.jvm;

import java.util.LinkedList;
import java.util.List;
import java.util.concurrent.TimeUnit;

/**
 * @Author: tgy
 * @Date: 2020-11-17 10:46
 */
public class HeapDemo01 {

    public static void main(String[] args) throws InterruptedException {

        List<byte[]> container = new LinkedList<>();

        for (int i = 0; i < 100; i++) {

            byte[] bytes = new byte[1024];
            container.add(bytes);
        }

        TimeUnit.SECONDS.sleep(10000000);
    }
}
